
.toastui-editor-popup-color {
  padding: 0;
}

.toastui-editor-popup-color .tui-colorpicker-container,
.toastui-editor-popup-color .tui-colorpicker-palette-container {
  width: 147px;
}

.toastui-editor-popup-color .tui-colorpicker-container ul {
  width: 152px;
  margin-bottom: 10px;
}

.toastui-editor-popup-color .tui-colorpicker-container li {
  padding: 0 3px 3px 0;
}

.toastui-editor-popup-color .tui-colorpicker-container li .tui-colorpicker-palette-button {
  border: solid 1px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
}

.toastui-editor-popup-color .tui-popup-body {
  padding: 10px;
}

.toastui-editor-popup-color .tui-colorpicker-container .tui-colorpicker-palette-toggle-slider {
  display: none;
}

.toastui-editor-popup-color .tui-colorpicker-container .tui-colorpicker-svg-slider {
  border-radius: 3px;
  border: solid 1px rgba(0, 0, 0, 0.05);
}


.toastui-editor-popup-color .tui-colorpicker-palette-hex {
  float: right;
}

.toastui-editor-popup-body input[type='text'].tui-colorpicker-palette-hex {
  font-family: inherit;
  font-size: 13px;
  height: 24px;
  width: 65px;
  padding: 3px 25px 3px 10px;
  border: 1px solid #e1e3e9;
  border-radius: 2px;
  float: left;
}

.toastui-editor-popup-color button {
  height: 32px;
  width: 40px;
  color: #555;
  background: #f7f9fc;
  border: 1px solid #e1e3e9;
  top: 68px;
  position: absolute;
  right: 15px;
}

.toastui-editor-popup-color button:hover {
  border-color: #cbcfdb;
}

.toastui-editor-popup-color .tui-colorpicker-container div.tui-colorpicker-clearfix {
  display: inline-block;
  margin: 5px 0;
  width: 102px;
}

.toastui-editor-popup-color .tui-colorpicker-container .tui-colorpicker-palette-preview {
  margin-top: 8px;
  margin-left: -22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: solid 1px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.toastui-editor-popup-color .tui-colorpicker-slider-container .tui-colorpicker-slider-right {
  width: 19px;
}

.toastui-editor-popup-color .tui-colorpicker-slider-container .tui-colorpicker-svg-huebar {
  border: solid 1px rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  overflow: auto;
}

.toastui-editor-popup-color .tui-colorpicker-slider-container .tui-colorpicker-huebar-handle {
  display: none;
}

.toastui-editor-toolbar-icons.color {
  background-image: url('');
  background-size: 23px 112px;
  background-position: 3px 3px;
}

.toastui-editor-dark .toastui-editor-toolbar-icons.color {
  background-position-y: -47px;
}

.toastui-editor-dark .toastui-editor-popup-body input[type='text'].tui-colorpicker-palette-hex {
  border-color: #303238;
}

.toastui-editor-dark .toastui-editor-popup-color button {
  color: #eee;
  border-color: #303238;
  background-color: #232428;
}

.toastui-editor-dark .toastui-editor-popup-color button:hover {
  border-color: #494c56;
}

.toastui-editor-dark .toastui-editor-popup-color .tui-colorpicker-container li .tui-colorpicker-palette-button {
  border-color: rgba(255, 255, 255, 0.1);
}

.toastui-editor-dark .toastui-editor-popup-color .tui-colorpicker-container .tui-colorpicker-svg-slider,
.toastui-editor-dark .toastui-editor-popup-color .tui-colorpicker-slider-container .tui-colorpicker-svg-huebar {
  border-color: rgba(255, 255, 255, 0.05);
}
